using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Yozeev.Authorization.Roles.Dtos
{
    public class CreateOrUpdateRoleInput
    {
        [Required] public RoleEditDto Role { get; set; }

        [Required] public List<string> GrantedPermissionNames { get; set; }
        /// <summary>
        /// 票价Id列表
        /// </summary>
        public List<Guid> TicketPriceIds { get; set; }
    }
}